package cn.laixueit.cart.service;

import cn.laixueit.cart.pojo.item.Brand;
import cn.laixueit.cart.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BrandService extends IService<Brand> {
    PageResult<Brand> findPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void saveBrandAndCategory(Brand brand, List<Long> cids);

    List<Brand> cid(Long cid);
}
